package org.unicat.mapper;

import org.unicat.model.Teacher;
import org.unicat.model.User;

import java.util.List;

public interface TeacherMapper {
    public List<Teacher> selectAll();

    public Teacher selectOne(String name);

    public void addTeacher(Teacher teacher);

    public void updateTeacher(Teacher teacher);

    public void deleteTeacher(Teacher teacher);
}
